[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Choice:Init(Name,R,C,CurSize,Items,SelItems,Clr,Shadow): public: return true
This method is used for initialising and reasonable window placement
for clipper function Achoice on the screen, to be as near as possible
to cursor but not to cover any desired text. (It starts on R,C position
with length of CurSize). Off course the window must be placed to be whole
visible. After all preparing job is done the menu is painted to the screen
and the control goes to calling function.
Parameter description:
~~~~~~~~~~~~~~~~~~~~~~
Name: text or code block : no default
Text or code block as window title.
R: numeric: default is Row().
Text position -row- (of cursor) on the screen, which shouldn't be covered
but the window should be as near as possible to this text.
C: numeric: default is Col().
Text position -column- (of cursor) on the screen, which shouldn't be
covered but the window should be as near as possible to this text.
CurSize: numeric: default is 1.
Text width, which shouldn't be covered but the window should be as
near as possible to this text.
Items: array: no default must be entered
It is an array of text strings, repersenting the menu. It is passed
without any change as parameter to clipper function AChoice().
SelItems: array: default is an array filled with true-values.
It is an array (of the same size as the "Items" parameter) controling
if the items can be selected from menu or the selection of this items
is not allowed. It is passed without any change as parameter to function
AChoice().
Clr: character: default is m->Color:Edit.
Window colors.
Shadow: logical: default is true for color monitor, false for monochrom.
If true the window shadow will be painted.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson